package com.gexada.simplechat.init;

import org.springframework.context.ApplicationContext;
import org.springframework.security.web.context.AbstractSecurityWebApplicationInitializer;
import org.springframework.web.filter.DelegatingFilterProxy;
import org.springframework.web.servlet.support.AbstractDispatcherServletInitializer;

/**
 * 只为添加 {@link DelegatingFilterProxy} 使用。 {@link ApplicationContext} 的初始化在
 * {@link ChatApplicationInitializer}
 *
 */
public class ChatSecurityWebApplicationInitializer extends AbstractSecurityWebApplicationInitializer {

	@Override
	protected String getDispatcherWebApplicationContextSuffix() {
		return AbstractDispatcherServletInitializer.DEFAULT_SERVLET_NAME;
	}

}
